using MicroMsg.Common.Event;
using MicroMsg.Common.Utils;
using MicroMsg.Manager;
using MicroMsg.Plugin.LBS;
using MicroMsg.Plugin.LBS.Scene;
using MicroMsg.Protocol;
using MicroMsg.Resource.@string;
using MicroMsg.Storage;
using MicroMsg.UI.UserContrl;
using MicroMsg.UI.Util;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Device.Location;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace MicroMsg.UI.Page
{
	public class LbsPeopleList : BasePage, FMsgChange
	{
		public class Group<T> : ObservableCollection<T>
		{
			public string Key
			{
				get;
				set;
			}
			public bool HasItems
			{
				get
				{
					return 0 != base.get_Count();
				}
				set
				{
				}
			}
			public Group(string name, IEnumerable<T> items)
			{
				this.Key = name;
				if (items != null)
				{
					using (IEnumerator<T> enumerator = items.GetEnumerator())
					{
						while (enumerator.MoveNext())
						{
							T current = enumerator.get_Current();
							base.Add(current);
						}
					}
				}
			}
			public override bool Equals(object value)
			{
				LbsPeopleList.Group<T> group = value as LbsPeopleList.Group<T>;
				return group != null && this.Key.Equals(group.Key);
			}
			public override int GetHashCode()
			{
				return base.GetHashCode();
			}
		}
		private const string TAG = "LbsPeopleList";
		private const GeoPositionAccuracy LocationAccuracy = 1;
		private const double dFrequency = 60.0;
		private const string ScrollingState = "Scrolling";
		private const string NotScrollingState = "NotScrolling";
		private ObservableCollection<LbsPeopleList.Group<LbsPeople>> mListPeopleSouce;
		private ScrollViewer mScrollViewer;
		private uint mFindType = ConfigMgr.smethod_0<LbsConfig>().nFindType;
		private EventWatcher mWatcherLbsFind;
		private EventWatcher mWatcherLbsRemove;
		private EventWatcher mWatcherHeadImgAdd;
		private MMMessageBox mNotFindFriendDialog;
		private MMMessageBox mMsgBoxClearFailed;
		private GeoCoordinateWatcher mGeoWatcher;
		private double latitude;
		private double Longitude;
		private bool bIsNeedUsingLocationService;
		private bool mBIsScrollHandlerSet;
		private ApplicationBarMenuItem seeBoysItem;
		private ApplicationBarMenuItem seeGirlsItem;
		private ApplicationBarMenuItem seeAllItem;
		internal Grid LayoutRoot;
		internal panelTitle2Line panelTitle;
		internal Button newMsgTipsLayout;
		internal TextBlock newMsgNumber;
		internal Image global_sex;
		internal LongListSelector listBoxPeople;
		private bool _contentLoaded;
		public bool IsScrolling
		{
			get;
			private set;
		}
		public LbsPeopleList()
		{
			this.InitializeComponent();
			this.SetAppBarWording();
			base.add_Loaded(new RoutedEventHandler(this.LbsPeopleList_Loaded));
			base.add_Unloaded(new RoutedEventHandler(this.LbsPeopleList_UnLoaded));
		}
		private void LbsPeopleList_Loaded(object sender, RoutedEventArgs e)
		{
			this.setScrollHandler();
			LbsPeopleListItem.ShowInViewItemsCachedImg();
			this.listBoxPeople.UpdateLayout();
		}
		private void LbsPeopleList_UnLoaded(object sender, RoutedEventArgs e)
		{
		}
		~LbsPeopleList()
		{
			this.StopLocationService();
		}
		private void initEventWatcher()
		{
			if (this.mWatcherLbsFind == null)
			{
				this.mWatcherLbsFind = new EventWatcher(this, null, new EventHandlerDelegate(this.onEventHandlerLbsFind));
			}
			if (this.mWatcherLbsRemove == null)
			{
				this.mWatcherLbsRemove = new EventWatcher(this, null, new EventHandlerDelegate(this.onEventHandlerLbsRemove));
			}
			if (this.mWatcherHeadImgAdd == null)
			{
				this.mWatcherHeadImgAdd = new EventWatcher(this, null, new EventHandlerDelegate(this.onEventHandlerHeadImgAdd));
			}
			EventCenter.registerEventWatcher(EventConst.ON_LBS_FIND_SUCCESS, this.mWatcherLbsFind);
			EventCenter.registerEventWatcher(EventConst.ON_LBS_FIND_ERROR, this.mWatcherLbsFind);
			EventCenter.registerEventWatcher(EventConst.ON_LBS_REMOVE_SUCCESS, this.mWatcherLbsRemove);
			EventCenter.registerEventWatcher(EventConst.ON_LBS_REMOVE_ERROR, this.mWatcherLbsRemove);
			EventCenter.registerEventWatcher(EventConst.ON_MGR_HEAD_IMG_READY, this.mWatcherHeadImgAdd);
		}
		private void unInitEventWatcher()
		{
			if (this.mWatcherLbsFind != null)
			{
				EventCenter.removeEventWatcher(EventConst.ON_LBS_FIND_SUCCESS, this.mWatcherLbsFind);
				EventCenter.removeEventWatcher(EventConst.ON_LBS_FIND_ERROR, this.mWatcherLbsFind);
				this.mWatcherLbsFind = null;
			}
			if (this.mWatcherLbsRemove != null)
			{
				EventCenter.removeEventWatcher(EventConst.ON_LBS_REMOVE_SUCCESS, this.mWatcherLbsRemove);
				EventCenter.removeEventWatcher(EventConst.ON_LBS_REMOVE_ERROR, this.mWatcherLbsRemove);
				this.mWatcherLbsRemove = null;
			}
			if (this.mWatcherHeadImgAdd != null)
			{
				EventCenter.removeEventWatcher(EventConst.ON_MGR_HEAD_IMG_READY, this.mWatcherHeadImgAdd);
				this.mWatcherHeadImgAdd = null;
			}
		}
		private void onEventHandlerLbsFind(EventWatcher watcher, BaseEventArgs evtArgs)
		{
			if (EventConst.ON_LBS_FIND_SUCCESS == evtArgs.mEventID)
			{
				if (evtArgs.mObject != null && evtArgs.mObject is List<LbsPeople>)
				{
					List<LbsPeople> list = evtArgs.mObject as List<LbsPeople>;
					if (list == null)
					{
						return;
					}
					Dictionary<string, LbsPeopleList.Group<LbsPeople>> dictionary = new Dictionary<string, LbsPeopleList.Group<LbsPeople>>();
					this.mListPeopleSouce = new ObservableCollection<LbsPeopleList.Group<LbsPeople>>();
					using (List<LbsPeople>.Enumerator enumerator = list.GetEnumerator())
					{
						while (enumerator.MoveNext())
						{
							LbsPeople current = enumerator.get_Current();
							if (current != null && !string.IsNullOrEmpty(current.strUserName) && !string.IsNullOrEmpty(current.strDistance))
							{
								if (!dictionary.ContainsKey(current.strDistance))
								{
									LbsPeopleList.Group<LbsPeople> group = new LbsPeopleList.Group<LbsPeople>(current.strDistance, null);
									dictionary.Add(current.strDistance, group);
									this.mListPeopleSouce.Add(group);
								}
								dictionary.get_Item(current.strDistance).Add(current);
							}
						}
					}
					this.listBoxPeople.ItemsSource = this.mListPeopleSouce;
					this.listBoxPeople.UpdateLayout();
					this.requestHeadImgInCurrView();
					if (this.mScrollViewer != null)
					{
						this.mScrollViewer.ScrollToVerticalOffset(0.0);
					}
				}
				Log.smethod_5("LbsPeopleList", "Lbs find SUCCESS");
			}
			else
			{
				if (EventConst.ON_LBS_FIND_ERROR == evtArgs.mEventID && evtArgs.mObject != null)
				{
					RetConst retConst = (RetConst)evtArgs.mObject;
					string string_ = strings.Lbs_PeoList_MsgFailed;
					if (RetConst.MM_ERR_CLIENT == retConst)
					{
						string_ = strings.Login_Main_MsgBadNet;
					}
					else
					{
						if (RetConst.MM_ERR_LBSBANBYEXPOSE == retConst)
						{
							string_ = strings.Lbs_PeoInfo_MsgBadMan;
						}
						else
						{
							if (RetConst.MM_ERR_LBSDATANOTFOUND == retConst)
							{
								string_ = strings.Lbs_PeoList_MsgFailed;
							}
						}
					}
					if (this.mNotFindFriendDialog == null)
					{
						this.mNotFindFriendDialog = MMMessageBox.Show(string_, true, "确定");
						this.mNotFindFriendDialog.ReturnEvent = new DlgReturnEvent(this.MsgBoxBackHandler);
					}
					Log.smethod_5("LbsPeopleList", "Lbs find error, ret = " + retConst);
				}
			}
			base.get_Dispatcher().BeginInvoke(delegate
			{
				this.hideProgressCover();
				this.showNewMsgTipsLayoutIfNeed();
			});
		}
		private void onEventHandlerLbsRemove(EventWatcher watcher, BaseEventArgs evtArgs)
		{
			if (EventConst.ON_LBS_REMOVE_SUCCESS == evtArgs.mEventID)
			{
				base.GoBack();
				MainPage.AddOneToastToMainPage(strings.Lbs_PeoList_MsgClearSucc);
				return;
			}
			if (EventConst.ON_LBS_REMOVE_ERROR == evtArgs.mEventID)
			{
				if (this.mMsgBoxClearFailed == null)
				{
					this.mMsgBoxClearFailed = MMMessageBox.Show(strings.Lbs_PeoList_MsgClearFaild, "", true, strings.COM_Retry, strings.COM_Cancel);
					this.mMsgBoxClearFailed.ReturnEvent = new DlgReturnEvent(this.MsgBoxClearPositionHandler);
				}
				Log.smethod_5("LbsPeopleList", "ON_LBS_REMOVE_ERROR");
				this.hideProgressCover();
			}
		}
		private void onEventHandlerHeadImgAdd(EventWatcher watcher, BaseEventArgs evtArgs)
		{
			List<string> listObject = evtArgs.getListObject<string>();
			if (listObject == null)
			{
				return;
			}
			List<string> list = new List<string>();
			using (List<string>.Enumerator enumerator = listObject.GetEnumerator())
			{
				while (enumerator.MoveNext())
				{
					string current = enumerator.get_Current();
					if (current != null && current.GetType() == typeof(string))
					{
						list.Add(current);
					}
				}
			}
			LbsPeopleListItem.RefreshHeadImgInView(list);
			this.listBoxPeople.UpdateLayout();
		}
		protected override void OnPageIn(object[] object_0)
		{
			this.initEventWatcher();
			if (object_0 != null && object_0.Length != 0)
			{
				if (object_0[0].GetType() == typeof(LbsPeopleListComeFrom))
				{
					this.initFromDirectly();
					if (this.bIsNeedUsingLocationService && this.mGeoWatcher != null)
					{
						this.mGeoWatcher.Start();
					}
					return;
				}
			}
		}
		private void initFromDirectly()
		{
			this.initDataSouces();
		}
		protected override void OnPageOut()
		{
			this.unInitEventWatcher();
			if (this.bIsNeedUsingLocationService && this.mGeoWatcher != null)
			{
				this.mGeoWatcher.Stop();
				this.mGeoWatcher = null;
			}
			this.hideProgressCover();
		}
		protected override void OnPageBack()
		{
			this.showNewMsgTipsLayoutIfNeed();
		}
		private void StartLocationService()
		{
			Log.smethod_5("LbsPeopleList", "StartLocationService");
			LbsPeopleListItem.mFindType = this.mFindType;
			this.refreshGlobalSexImage();
			this.StartLocationService(0);
		}
		private void StartLocationService(GeoPositionAccuracy accuracy)
		{
			if (this.mGeoWatcher == null)
			{
				this.mGeoWatcher = new GeoCoordinateWatcher(accuracy);
				this.mGeoWatcher.set_MovementThreshold(20.0);
				this.mGeoWatcher.add_StatusChanged(new EventHandler<GeoPositionStatusChangedEventArgs>(this.mGeoWatcher_StatusChanged));
				this.mGeoWatcher.add_PositionChanged(new EventHandler<GeoPositionChangedEventArgs<GeoCoordinate>>(this.mGeoWatcher_PositionChanged));
			}
			this.bIsNeedUsingLocationService = true;
			this.showProgressCover(strings.Lbs_PeoList_MsgGettingPos);
			this.mGeoWatcher.Start();
			this.bIsNeedUsingLocationService = true;
		}
		private void mGeoWatcher_StatusChanged(object sender, GeoPositionStatusChangedEventArgs e)
		{
			Deployment.get_Current().get_Dispatcher().BeginInvoke(delegate
			{
				this.GeoStatusChanged(e);
			});
		}
		private void GeoStatusChanged(GeoPositionStatusChangedEventArgs geoPositionStatusChangedEventArgs_0)
		{
			switch (geoPositionStatusChangedEventArgs_0.get_Status())
			{
			case 0:
				this.hideProgressCover();
				this.geoDisable();
				Log.smethod_5("LbsPeopleList", "GeoPositionStatus.Disabled");
				return;
			case 1:
				Log.smethod_5("LbsPeopleList", "GeoPositionStatus.Ready");
				this.initGeoPostionSuccess();
				break;
			case 2:
				break;
			case 3:
				this.hideProgressCover();
				this.initGeoPostionFailed();
				Log.smethod_5("LbsPeopleList", "GeoPositionStatus.NoData");
				return;
			default:
				return;
			}
		}
		private void mGeoWatcher_PositionChanged(object sender, GeoPositionChangedEventArgs<GeoCoordinate> e)
		{
			Deployment.get_Current().get_Dispatcher().BeginInvoke(delegate
			{
				this.GeoPositionChanged(e);
			});
		}
		private void GeoPositionChanged(GeoPositionChangedEventArgs<GeoCoordinate> geoPositionChangedEventArgs_0)
		{
			this.latitude = geoPositionChangedEventArgs_0.get_Position().get_Location().get_Latitude();
			this.Longitude = geoPositionChangedEventArgs_0.get_Position().get_Location().get_Longitude();
			this.StopLocationService();
			this.sendLocationToServer();
		}
		private void initGeoPostionSuccess()
		{
		}
		private void initGeoPostionFailed()
		{
			MMMessageBox mMMessageBox = MMMessageBox.Show(strings.Lbs_PeoList_MsgNoPos, true, "确定");
			mMMessageBox.ReturnEvent = new DlgReturnEvent(this.MsgBoxBackHandler);
		}
		private void geoDisable()
		{
			MMMessageBox mMMessageBox = MMMessageBox.Show(strings.Lbs_PeoList_MsgLbsOff, true, "确定");
			mMMessageBox.ReturnEvent = new DlgReturnEvent(this.MsgBoxBackHandler);
		}
		private void StopLocationService()
		{
			if (this.mGeoWatcher != null)
			{
				this.mGeoWatcher.Stop();
				this.mGeoWatcher = null;
				this.bIsNeedUsingLocationService = false;
				Log.smethod_5("LbsPeopleList", "StopLocationService");
			}
		}
		private void initDataSouces()
		{
			this.StartLocationService();
		}
		private void sendLocationToServer()
		{
			Log.smethod_5("LbsPeopleList", "sendLocationToServer");
			LBS.getInstance().sceneLbsService.doFindNearby(this.latitude, this.Longitude, this.mFindType);
			this.showProgressCover(strings.Lbs_PeoList_MsgGettingPeo);
		}
		private void LbsPeopleListItem_ItemClick(object sender, object object_0)
		{
			if (object_0 != null)
			{
				LbsPeople lbsPeople = object_0 as LbsPeople;
				if (lbsPeople.nSnsFlag == 1u)
				{
					SnsPageMgr.getLastSnsImage(lbsPeople.strUserName, true);
				}
				Contact contact = StorageMgr.contact.method_0(lbsPeople.strUserName);
				if (contact != null && ContactMgr.isContact(contact))
				{
					ContactDetailViewForAll.GotoContactDitailView(strings.COM_ConList, strings.COM_ConDetail, contact, ContactDetailFromType.FROM_MMCONTACT, false);
				}
				else
				{
					if (lbsPeople.nVerifyFlag != 0u)
					{
						contact = new Contact();
						contact.strUsrName = lbsPeople.strUserName;
						contact.nVerifyFlag = lbsPeople.nVerifyFlag;
						ContactDetailViewForAll.GotoProfile(new ContactDetailViewArgs
						{
							mContact = contact
						}, false);
						return;
					}
					base.GoToPage("/Source/Plugin/Lbs/UI/LbsPeopleInfo.xaml", new object[]
					{
						lbsPeople
					}, false);
					return;
				}
			}
		}
		public void MsgBoxClearPositionHandler(DlgReturnEventArg dlgReturnEventArg_0)
		{
			this.mMsgBoxClearFailed = null;
			switch (MMMessageBox.GetUserClickResult(dlgReturnEventArg_0))
			{
			case 0:
				this.clearPosition();
				break;
			case 1:
				break;
			default:
				return;
			}
		}
		public void MsgBoxBackHandler(DlgReturnEventArg dlgReturnEventArg_0)
		{
			base.GoBack();
			this.mNotFindFriendDialog = null;
		}
		private void AppBarBtnClearLocation_Click(object sender, EventArgs e)
		{
			this.clearPosition();
		}
		private void clearPosition()
		{
			this.showProgressCover(strings.Lbs_PeoList_MsgClearing);
			LBS.getInstance().sceneLbsService.doCleanPosition();
		}
		private void setScrollHandler()
		{
			if (this.mBIsScrollHandlerSet)
			{
				return;
			}
			this.mBIsScrollHandlerSet = true;
			this.mScrollViewer = (ScrollViewer)UIElementTraveler.FindElementRecursive(this.listBoxPeople, typeof(ScrollViewer));
			if (this.mScrollViewer == null)
			{
				return;
			}
			FrameworkElement frameworkElement = VisualTreeHelper.GetChild(this.mScrollViewer, 0) as FrameworkElement;
			if (frameworkElement != null)
			{
				VisualStateGroup visualStateGroup = UIElementTraveler.FindVisualState(frameworkElement, "ScrollStates");
				if (visualStateGroup != null)
				{
					visualStateGroup.add_CurrentStateChanging(new EventHandler<VisualStateChangedEventArgs>(this.OnScrollStateChanging));
				}
			}
		}
		private void OnScrollStateChanging(object sender, VisualStateChangedEventArgs e)
		{
			this.IsScrolling = (e.get_NewState().get_Name() == "Scrolling");
			if (e.get_NewState().get_Name() == "Scrolling")
			{
				LbsPeopleListItem.sBIsScroling = true;
				return;
			}
			if (e.get_NewState().get_Name() == "NotScrolling")
			{
				if (this.mScrollViewer != null)
				{
					this.mScrollViewer.ScrollToVerticalOffset(this.mScrollViewer.get_VerticalOffset());
				}
				LbsPeopleListItem.sBIsScroling = false;
				this.requestHeadImgInCurrView();
				this.listBoxPeople.UpdateLayout();
			}
		}
		private void requestHeadImgInCurrView()
		{
			ObservableCollection<LbsPeopleList.Group<LbsPeople>> observableCollection = this.mListPeopleSouce;
			if (this.mScrollViewer == null)
			{
				return;
			}
			if (this.mScrollViewer != null && observableCollection != null)
			{
				int num = (int)this.mScrollViewer.get_VerticalOffset();
				int num2 = num - 1;
				int i = 9;
				if (num2 <= 0)
				{
					i = 7;
					num2 = 0;
				}
				int num3 = 0;
				int num4 = 0;
				int num5 = 0;
				for (int j = 0; j < observableCollection.get_Count(); j++)
				{
					if (observableCollection.get_Item(j).get_Count() != 0)
					{
						if (num5 + observableCollection.get_Item(j).get_Count() + 1 > num2)
						{
							num3 = j;
							num4 = num2 - num5 - 1;
							IL_A7:
							if (-1 == num4)
							{
								num4 = 0;
								i--;
							}
							new List<Contact>();
							while (i > 0)
							{
								if (num3 > observableCollection.get_Count() - 1)
								{
									return;
								}
								if (observableCollection.get_Item(num3).get_Count() == 0)
								{
									num3++;
								}
								else
								{
									if (num4 > observableCollection.get_Item(num3).get_Count() - 1)
									{
										num3++;
										num4 = 0;
										i--;
									}
									else
									{
										HeadImgMgr.getHeadImage(observableCollection.get_Item(num3).get_Item(num4));
										num4++;
										i--;
									}
								}
							}
							return;
						}
						num5 += observableCollection.get_Item(j).get_Count() + 1;
					}
				}
				goto IL_A7;
			}
		}
		private void showNewMsgTipsLayoutIfNeed()
		{
		}
		private void newMsgTipsLayout_Click(object sender, object object_0)
		{
			base.GoToPage("/Source/Plugin/Lbs/UI/SayHelloPage.xaml", null, false);
		}
		public void onFMsgNewNumChange(FMsgType type)
		{
		}
		public void onFMsgDel(ChatMsg chatMsg_0, FMsgType type)
		{
		}
		public void onFMsgAdd(ChatMsg chatMsg_0, FMsgType type)
		{
			if (type != FMsgType.const_0)
			{
				return;
			}
			base.get_Dispatcher().BeginInvoke(delegate
			{
				this.showNewMsgTipsLayoutIfNeed();
			});
		}
		private void showProgressCover(string strCoverTitle)
		{
			ProcessingCover.setProgressBarTitle(this.LayoutRoot, strCoverTitle, null, false, false, null);
			base.get_ApplicationBar().set_IsVisible(false);
		}
		private void hideProgressCover()
		{
			ProcessingCover.releaseProgressBar(this.LayoutRoot);
			base.get_ApplicationBar().set_IsVisible(true);
		}
		private void refreshGlobalSexImage()
		{
			if (this.mFindType == 1u)
			{
				this.global_sex.set_Visibility(1);
				return;
			}
			this.global_sex.set_Visibility(0);
			string imgPath = (this.mFindType == 3u) ? MMTheme.GetInstance().sexIcon_man : MMTheme.GetInstance().sexIcon_woman;
			this.global_sex.set_Source(ImageCacheMgr.loadFromRes(imgPath));
		}
		public void SetAppBarWording()
		{
			if (base.get_ApplicationBar() != null && 1 == base.get_ApplicationBar().get_Buttons().get_Count())
			{
				ApplicationBarIconButton applicationBarIconButton = (ApplicationBarIconButton)base.get_ApplicationBar().get_Buttons().get_Item(0);
				applicationBarIconButton.set_Text(strings.Lbs_PeoList_BtnClear);
				this.seeGirlsItem = new ApplicationBarMenuItem(strings.LBS_Menu_See_Girls);
				this.seeGirlsItem.add_Click(new EventHandler(this.menu_Item_Click));
				base.get_ApplicationBar().get_MenuItems().Add(this.seeGirlsItem);
				this.seeBoysItem = new ApplicationBarMenuItem(strings.LBS_Menu_See_Boys);
				this.seeBoysItem.add_Click(new EventHandler(this.menu_Item_Click));
				base.get_ApplicationBar().get_MenuItems().Add(this.seeBoysItem);
				this.seeAllItem = new ApplicationBarMenuItem(strings.LBS_Menu_See_All);
				this.seeAllItem.add_Click(new EventHandler(this.menu_Item_Click));
				base.get_ApplicationBar().get_MenuItems().Add(this.seeAllItem);
				ApplicationBarMenuItem applicationBarMenuItem = new ApplicationBarMenuItem(strings.Shake_SayHello_List);
				applicationBarMenuItem.add_Click(new EventHandler(this.showSayHelloList_Click));
				base.get_ApplicationBar().get_MenuItems().Add(applicationBarMenuItem);
			}
		}
		private void menu_Item_Click(object sender, EventArgs e)
		{
			ApplicationBarMenuItem applicationBarMenuItem = sender as ApplicationBarMenuItem;
			this.listBoxPeople.ItemsSource = null;
			if (applicationBarMenuItem == this.seeBoysItem)
			{
				this.mFindType = 3u;
			}
			else
			{
				if (applicationBarMenuItem == this.seeGirlsItem)
				{
					this.mFindType = 4u;
				}
				else
				{
					this.mFindType = 1u;
				}
			}
			this.listBoxPeople.ItemsSource = null;
			ConfigMgr.smethod_0<LbsConfig>().nFindType = this.mFindType;
			ConfigMgr.save<LbsConfig>(false);
			this.StartLocationService();
		}
		private void showSayHelloList_Click(object sender, EventArgs e)
		{
			base.GoToPage("/Source/Plugin/Lbs/UI/SayHelloPage.xaml", null, false);
		}
		[DebuggerNonUserCode]
		public void InitializeComponent()
		{
			if (this._contentLoaded)
			{
				return;
			}
			this._contentLoaded = true;
			Application.LoadComponent(this, new Uri("/MicroMsg;component/Source/Plugin/Lbs/UI/LbsPeopleList.xaml", 2));
			this.LayoutRoot = (Grid)base.FindName("LayoutRoot");
			this.panelTitle = (panelTitle2Line)base.FindName("panelTitle");
			this.newMsgTipsLayout = (Button)base.FindName("newMsgTipsLayout");
			this.newMsgNumber = (TextBlock)base.FindName("newMsgNumber");
			this.global_sex = (Image)base.FindName("global_sex");
			this.listBoxPeople = (LongListSelector)base.FindName("listBoxPeople");
		}
	}
}
